STEP 1: The player and computer sprites are ready to play!

We've already set up the player icons. Now, we'll ask the user for the choice so we can use it later!

  • Go to and drag Ask into the bottom of your program.
  • Change the name in front of .ask() to player.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)